Compact and Efficient Presentation Conversion Routines

نویسنده

  • Philipp Hoschka
چکیده

Presentation conversion is a key operation in any development environment for distributed applications, such as Corba, Java-RMI, DCE or ASN.1-based environments. It is also well-known performance bottleneck in high-speed network communication. Presentation conversion code is usually generated by an automatic code generation tool referred to as stub compiler. The quality of the code generated by a stub compiler is often very low. The code is either very slow, or has a large code size, or both. This paper describes the design and experimental evaluation of an optimization stage for a stub compiler. The optimization stage automates the trade-o between code size and execution speed of the code generated by the compiler. This is achieved by using a hybrid of two implementation alternatives for presentation conversion routines (interpreted and procedure-driven code). The optimization problem is modeled as a Knapsack problem. A Markov model in combination with a heuristic branch predictor is used for estimating execution frequencies. The optimization stage is added to the ASN.1 compiler Mavros. Experimental evaluation of this implementation shows that by investing only 25% of the code size of fully optimized code, a performance improvement of 55% to 68% can be achieved. Key-words: Stub compiler, Presentation conversion, Telecommunication networks, Code optmisation, ASN.1, Knapsack problem, Heuristic branch prediction

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Automatic Generation of Optimized Code for Marshalling Routines

We describe a new approach to the automatic generation of marshalling code which results in code that is fast and compact at the same time. The key insight behind our work is that certain types in an interface specification occur more often than others at run-time. We exploit this locality to solve a particularily difficult optimization problem in stub generators, namely the trade-off between c...

متن کامل

The Treatment of Data Types in Eli

In constructing a general purpose programming language, a key issue is providing a sufficient set of data types and associated operations in a manner that permits both natural problem-oriented notation and very efficient implementation. The language ELI contains a number of features specifically designed to simultaneously satisfy both requirements. The resulting treatment of data types Includes...

متن کامل

Compact and Eecient Presentation Conversion Code

Presentation conversion is a key operation in any development environment for distributed applications, such as Corba, Java-RMI, DCE or ASN.1-based environments. It is also well-known performance bottleneck in high-speed network communication. Presentation conversion code is usually generated by an automatic code generation tool referred to as stub compiler. The quality of the code generated by...

متن کامل

Compact and Efficient Active Vibro-acoustic Control of a Smart Plate Structure

An effective wide band active control law through one kind of the Dynamic Vibration Absorber (DVA) is proposed and studied in this paper. With the help of mechanical impedance method, active DVA control law is formulated based on the passive mechanical model. The electrical DVA can generate multi-mode active damping to the structure. The host structure is an aluminum plate and acceleration sign...

متن کامل

Nonparametric Estimation by Convex Programming

The problem we concentrate on is as follows: given (1) a convex compact set X in R, an affine mapping x 7→ A(x), a parametric family {pμ(·)} of probability densities and (2) N i.i.d. observations of the random variable ω, distributed with the density pA(x)(·) for some (unknown) x ∈X, estimate the value gx of a given linear form at x. For several families {pμ(·)} with no additional assumptions o...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 1998